import { EnvironmentProviders, importProvidersFrom } from '@angular/core';
import {
  MenuFoldOutline,
  MenuUnfoldOutline,
  FormOutline,
  DashboardOutline,
  HomeOutline,
  SettingFill,
  SmileOutline,
  SyncOutline,
  PlusOutline,
  UploadOutline,
  DownloadOutline,
  MailOutline,
  AppstoreOutline,
  LeftOutline,
  ArrowLeftOutline,
  UserOutline,
  LockOutline,
  ClockCircleOutline,
  LikeOutline,
  LikeTwoTone,
  DislikeOutline,
  DislikeTwoTone,
  CaretDownOutline,
} from '@ant-design/icons-angular/icons';
import { NzIconModule } from 'ng-zorro-antd/icon';

const icons = [
  MenuFoldOutline,
  MenuUnfoldOutline,
  DashboardOutline,
  FormOutline,
  HomeOutline,
  SettingFill,
  SmileOutline,
  SyncOutline,
  PlusOutline,
  UploadOutline,
  DownloadOutline,
  MailOutline,
  AppstoreOutline,
  LeftOutline,
  ArrowLeftOutline,
  UserOutline,
  LockOutline,
  ClockCircleOutline,
  LikeOutline,
  LikeTwoTone,
  DislikeOutline,
  DislikeTwoTone,
  CaretDownOutline,
];

export function provideNzIcons(): EnvironmentProviders {
  return importProvidersFrom(NzIconModule.forRoot(icons));
}
